frame

public Optional<Frame> frame()

Returns the Frame instance requested to display this context menu.

It returns Optional.empty() if the frame has been closed.

Since

8.8.0